package stool.builderpattern;

/**
 * @Author Felix YF Dong
 * @Date 2021/5/6
 */
public abstract class PersonBuilder {

    private String x;

    private String y;

    public PersonBuilder(String x, String y) {
        this.x = x;
        this.y = y;
    }

    public abstract void buildHead();

    public abstract void buildBody();

    public abstract void buildArmLeft();

    public abstract void buildArmRight();

    public abstract void buildLegLeft();

    public abstract void buildLegRight();

    public String getX() {
        return x;
    }

    public void setX(String x) {
        this.x = x;
    }

    public String getY() {
        return y;
    }

    public void setY(String y) {
        this.y = y;
    }
}
